<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        html,body{
            height: 100%;
            padding: 0;
            margin: 0;  
        }
     .max{
        width: 100%;
        height: 100%;
        background-color: aquamarine;
        display: flex;
        justify-content: space-between;
        /* flex-direction: column; */
     }
     .w{
        height: 200px;
        width: 100%;
     }
     .left{
        width: 500px;
        background-color: bisque;
        flex-shrink:0;
     }
     .right{
        flex-grow: 1;
        background-color: rgb(184, 184, 221);
        max-width: 100%;
        overflow: hidden;
        padding: 10px;
        padding-right: 30px;
        box-sizing: border-box;
     }
     .right>div{
        width: 100%;
     }
     .a{
        height: 200px;
        padding: 30px;
        background-color: brown;
     }
     .aa{
        width: 100%;
        height: 100%;
        background-color: rgb(54, 29, 29);
     }
    </style>
</head>
<body>
    <div class="max">
        <div class="left"></div>
        <div class="right">
            <div class="a">
                <div class="aa"></div>
            </div>
            <div class="b">
                <div>
                    
                    
                </div>
            </div>
        </div>
    </div>
</body>
</html>